#include <iostream>

using namespace std;

class Date
{
public:
	Date(int year = 2024, int month = 4, int day = 16)
	{
		cout << "Date(int ,int ,int)" << this << endl;
		_year = year;
		_month = month;
		_day = day;
	}
	Date (const Date& d)
	{
		cout << "Date(const Date& d)" << this << endl;
		_day = d._day;
		_month = d._month;
		_year = d._year;

	}
	~Date()
	{
		cout << "Date()" << endl;
	}
private:
	int _year;
	int _month;
	int _day;
};
Date Test(Date d)
{
	Date temp(d);
	return temp;
}
int main()
{
	Date d1(2022, 1, 13);
	Test(d1);
	return 0;
}